//package ynu.lcy.elememicroserviceserviceclient.service;
//
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import ynu.lcy.elememicroservicecommon.exception.BusinessException;
//import ynu.lcy.entity.User;
//
//import javax.servlet.http.HttpServletRequest;
//
///**
// * 用户内部服务
// */
//@FeignClient(name = "eleme-microservice-user-auth",path = "/api/u-a/user/inner")
//public interface UserFeignClient {
//
//    @GetMapping("/get")
//    public  User getUser(@RequestParam("userPhone") String userPhone) throws BusinessException;
//
//    @PostMapping("/login")
//    User login(@RequestParam("userPhone")String userPhone, @RequestParam("password")String password);
//}
